package com.fzrskj.cloud.free.consts;

/**
 * AppCode.
 *
 * @author zj.
 *         Created on 2018/8/30 0030.
 */
public class AppCode {
    /**
     * 表不存在
     */
    final public static String TABLE_NOT_EXISTS			 = "SD01";
    /**
     * 数据库未知异常
     */
    final public static String DB_ERR 				     = "SD02";
    /**
     * system account, can't operate.
     */
    final public static String SYS_ACCOUNT			     = "S217";
    /**
     * system role, can't operate.
     */
    final public static String SYS_ROLE				     = "S218";

    /**
     * 字典代码重复.
     */
    final public static String DIC_INDEX_EXISTS		     = "D100";
    /**
     * 参数不能为空.
     */
    final public static String PARAM_NOT_NULL            = "D101";
    /**
     * 域名不能注册.
     */
    final public static String DOMAIN_NOT_REGISTER       = "D102";
    /**
     * 域名已经存在
     */
    final public static String DOMAIN_EXIST              = "D103";
    /**
     * 域名不规范.
     */
    final public static String DOMAIN_NOT_NORMAL         = "D104";
    /**
     * 数据值重复.
     */
    final public static String DIC_ITEM_EXISTS           = "D105";
    /**
     * 模板名称不能为空.
     */
    final public static String TEMPLATENAME_NOT_NULL     = "D106";
    /**
     * 模板名称不能重复.
     */
    final public static String TEMPLATENAME_NOT_EXISTS   = "D108";
    /**
     * 会员等级重复.
     */
    final public static String VIPGRADE_EXISTS           = "D109";
    /**
     * 域名后缀重复.
     */
    final public static String DOMAIN_SUFFIX_EXISTS      = "D110";

    /**
     * 帐号停用.
     */
    final public static String T_status01 			     = "T001";
    /**
     * 帐号冻结.
     */
    final public static String T_status02 			     = "T002";

    /**
     * invalid random code.
     */
    final public static String RANDOMCODE_ERROR 	     = "S211";
    /**
     * account has been activated already.
     */
    final public static String USER_ACTIVED			     = "C212";
    /**
     * 邮箱已存在.
     */
    final public static String EMAIL_EXISTS		         = "C214";
    /**
     * 电话已存在.
     */
    final public static String MOBILE_EMPTY			     = "C215";

    /**
     * 产品编号已存在.
     */
    final public static String PRODUCT_ALREADY_EXISTS    = "P001";
    /**
     * 产品信息不存在.
     */
    final public static String PRODUCT_NOT_EXISTS	     = "P002";

    /**
     * 完成的发票不允许更新.
     */
    final public static String INVOICE_NO_UPDATA	     = "I001";
    /**
     * 发票名称不能重复.
     */
    final public static String INVOICENAME_EXISTS 	     = "I002";
    /**
     * 未选中需要打印的发票.
     */
    final public static String INVOICE_NOT_EXISTS        = "I003";

    /**
     * 云主机不存在.
     */
    final public static String VPS_NOT_FOUND             = "V001";
    /**
     * 删除云主机快照失败.
     */
    final public static String VPS_SNAPSHOT_DELETE_FAIL  = "V002";
    /**
     * 查询云主机状态失败.
     */
    final public static String VPS_QUERY_STATUS_FAIL     = "V003";
    /**
     * 云主机未关闭，不能进行该操作.
     */
    final public static String VPS_FORBID_WITH_RUNNING   = "V004";
    /**
     * 云主机快照还原失败.
     */
    final public static String VPS_SNAPSHOT_RESTORE_FAIL = "V005";

    /**
     * 没有可用的虚拟主机服务器.
     */
    final public static String VIRTUAL_DIC_HOST_WITHOUT  = "VH01";

    /**
     * 开通WEB目录失败.
     */
    final public static String VIRTUAL_NTFS_CREATE_FAIL  = "VH02";

    /**
     * 开通WEB失败.
     */
    final public static String VIRTUAL_WEB_CREATE_FAIL   = "VH03";

    /**
     * 开通MySQL失败.
     */
    final public static String VIRTUAL_MYSQL_CREATE_FAIL = "VH04";

    /**
     * 开通SQL Server失败.
     */
    final public static String VIRTUAL_MSSQL_CREATE_FAIL = "VH05";

    /**
     * 开通FTP失败.
     */
    final public static String VIRTUAL_FTP_CREATE_FAIL   = "VH06";

    /**
     * 拷贝文件失败
     */
    final public static String VIRTUAL_WEB_FILE_COPY_FAIL   = "VH07";

    /**
     * 站点已存在
     */
    final public static String VIRTUAL_WEB_IS_EXISTS   = "VH08";

    /**
     * FTP已存在
     */
    final public static String VIRTUAL_FTP_IS_EXISTS   = "VH09";

    /**
     * MSSQL已存在
     */
    final public static String VIRTUAL_MSSQL_IS_EXISTS   = "VH10";

    /**
     * MYSQL已存在
     */
    final public static String VIRTUAL_MYSQL_IS_EXISTS   = "VH11";

    /**
     * 绑定域名超出了最大数量限制.
     */
    final public static String VIRTUAL_DOMAIN_BIND_ALLOW_MAX_ERR = "VHD1";

    /**
     * 域名已被同组其他站点绑定.
     */
    final public static String VIRTUAL_DOMAIN_BIND_EXISTS = "VHD2";

    /**
     * 微务访问授权验证错误.
     */
    final public static String MINI_SERVER_API_CHECK_ERROR = "W001";
}
